nlp_architect.models.cross_doc_coref.sieves_config.EntitySievesConfiguration

class nlp_architect.models.cross_doc_coref.sieves_config.EntitySievesConfiguration[source]
__init__()[source]

Cross document co-reference event and entity evaluation configuration settings

Methods

__init__() Cross document co-reference event and entity evaluation configuration settings

Attributes

run_evaluation Should run evaluation (True/False)
sieves_order Sieve definition and Sieve running order
run_evaluation

Should run evaluation (True/False)

sieves_order

Sieve definition and Sieve running order

Tuple[SieveType, RelationType, Threshold(float)] - define sieves to run, were

Strict- Merge clusters only in case all mentions has current relation between them, Relax- Merge clusters in case (matched mentions) / len(cluster_1.mentions)) >= thresh, Very_Relax- Merge clusters in case (matched mentions) / (all possible pairs) >= thresh

RelationType represent the type of sieve to run.